<html>
<head><meta charset="utf-8"><title>ripgrep slowness · wg-secure-code · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/index.html">wg-secure-code</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html">ripgrep slowness</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="185172707"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185172707" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> BurntSushi <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185172707">(Jan 09 2020 at 00:26)</a>:</h4>
<p><span class="user-mention" data-user-id="127617">@Shnatsel</span> would you mind filling an issue for that? Hopefully with a way to reproduce it. :)</p>



<a name="185172762"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185172762" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shnatsel <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185172762">(Jan 09 2020 at 00:26)</a>:</h4>
<p>An issue for what?</p>



<a name="185172796"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185172796" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> BurntSushi <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185172796">(Jan 09 2020 at 00:27)</a>:</h4>
<p>I don't know how to link to comments in the zulip mobile app, but I'm referring to the performance issue with ripgrep that you mentioned above. It was a while ago, but I've only just got on zulip. :)</p>



<a name="185173011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shnatsel <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173011">(Jan 09 2020 at 00:31)</a>:</h4>
<p>Oh. I genuinely don't remember what I was searching for, but should I still have the XMLs. I think I used <code>cargo install</code> instead of grabbing a precompiled binary so that might be relevant. Lemme think</p>



<a name="185173073"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173073" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> BurntSushi <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173073">(Jan 09 2020 at 00:32)</a>:</h4>
<p>Thanks! No worries if not. I'm just always eager to investigate major differences. cargo install is probably fine.</p>



<a name="185173118"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173118" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173118">(Jan 09 2020 at 00:33)</a>:</h4>
<p><span class="user-mention" data-user-id="222471">@Andrew Gallant</span> fwiw, also generally on Zulip such a discussion would be split into a new topic, perhaps linking back/quoting the old one :) I've actually gone ahead and done so now. <a href="#narrow/stream/146229-wg-secure-code/topic/cfnts/near/179675715" title="#narrow/stream/146229-wg-secure-code/topic/cfnts/near/179675715">https://rust-lang.zulipchat.com/#narrow/stream/146229-wg-secure-code/topic/cfnts/near/179675715</a></p>



<a name="185173129"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173129" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shnatsel <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173129">(Jan 09 2020 at 00:33)</a>:</h4>
<p>Really? Seems weird to me, but OK</p>



<a name="185173136"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173136" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173136">(Jan 09 2020 at 00:33)</a>:</h4>
<p>since it's unrelated to the previous one (AFAICT)</p>



<a name="185173183"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173183" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shnatsel <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173183">(Jan 09 2020 at 00:34)</a>:</h4>
<p>hmm, yeah you're probably right</p>



<a name="185173186"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173186" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> BurntSushi <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173186">(Jan 09 2020 at 00:34)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> oh thanks! Still learning proper etiquette.</p>



<a name="185173188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173188">(Jan 09 2020 at 00:34)</a>:</h4>
<p>obviously a subjective decision though :)</p>



<a name="185173204"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173204" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173204">(Jan 09 2020 at 00:34)</a>:</h4>
<p>No worries! Zulip makes it really easy to fork after going off on a tangent, and we do it a lot :)</p>



<a name="185173214"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173214" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173214">(Jan 09 2020 at 00:34)</a>:</h4>
<p>(though admittedly currently you need an admin around, but they're quite common :)</p>



<a name="185173228"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173228" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> BurntSushi <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173228">(Jan 09 2020 at 00:35)</a>:</h4>
<p>Is forking possible on the mobile app? I don't see an option for it</p>



<a name="185173232"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173232" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> BurntSushi <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173232">(Jan 09 2020 at 00:35)</a>:</h4>
<p>Oh an admin needs to do it?</p>



<a name="185173240"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173240" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173240">(Jan 09 2020 at 00:35)</a>:</h4>
<p>I think no, but not sure. Non-admins can edit your own messages topic currently (there's a setting to allow anyone which I want to enable but need to think more about first)</p>



<a name="185173250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173250">(Jan 09 2020 at 00:35)</a>:</h4>
<p>but editing your own message would just for <em>it</em> whereas I (as an admin) can fork "later" messages</p>



<a name="185173252"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185173252" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> BurntSushi <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185173252">(Jan 09 2020 at 00:36)</a>:</h4>
<p>Gotya. Cool. Thanks!</p>



<a name="185175093"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185175093" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shnatsel <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185175093">(Jan 09 2020 at 01:11)</a>:</h4>
<p>Nevermind, I've fudged the measurement. <code>rg</code> is actually 3x faster. Turns out <code>grep</code> exits early if it detects it's being piped to /dev/null.</p>



<a name="185349309"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185349309" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> HeroicKatora <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185349309">(Jan 10 2020 at 20:42)</a>:</h4>
<p>Maybe <code>rg</code> could do the same <span aria-label="thinking" class="emoji emoji-1f914" role="img" title="thinking">:thinking:</span></p>



<a name="185522466"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/185522466" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Shnatsel <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#185522466">(Jan 13 2020 at 18:40)</a>:</h4>
<p><span class="user-mention" data-user-id="222471">@BurntSushi</span> btw thanks for the awesome tool that is ripgrep! It made analyzing millions of test results much easier.</p>



<a name="186050042"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146229-wg-secure-code/topic/ripgrep%20slowness/near/186050042" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/146229-wg-secure-code/topic/ripgrep.20slowness.html#186050042">(Jan 19 2020 at 18:24)</a>:</h4>
<p>ripgrep is so fast that i couldn't believe seeing a topic called "ripgrep slowness" :D</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>